WPGraphQL\Admin\Settings\SettingsRegistry C

Total Complexity 113
Dependencies 1
Dependents 4
Total lines 783
Lines of code 423
Logical lines of code 198
Comment lines 246
Methods 30
Properties 2

Methods 30

Method Rating Maintainability Complexity Lines of code
admin_init()
B
39 24 54
callback_text()
S
59 9 10
callback_number()
S
57 8 12
get_sanitize_callback()
S
59 7 14
script()
S
51 1 82
callback_wysiwyg()
S
56 5 16
callback_checkbox()
S
59 5 11
sanitize_options()
S
61 4 13
callback_select()
S
60 4 11
show_forms()
S
54 3 24
callback_textarea()
S
63 4 8
callback_file()
S
60 4 10
callback_multicheck()
S
58 3 14
callback_user_role_select()
S
59 3 13
show_navigation()
S
61 3 12
_style_fix()
S
61 2 17
callback_password()
S
65 3 7
callback_color()
S
65 3 7
callback_pages()
S
59 2 13
callback_radio()
S
60 2 12
get_field_description()
S
66 2 8
register_field()
S
59 1 15
get_option()
S
69 2 7
register_fields()
S
71 2 6
admin_enqueue_scripts()
S
65 2 10
callback_html()
S
79 1 3
get_settings_fields()
S
82 1 3
callback_url()
S
81 1 3
register_section()
S
73 1 5
get_settings_sections()
S
82 1 3